<template>
  <div class="big">
    <div class="box">
      <div class="top">医生</div>
      <div class="el-card-box">
        <el-row :gutter="12">
          <el-col :span="8">
            <el-card shadow="hover"> 动物内科 </el-card>
          </el-col>
          <el-col :span="8">
            <el-card shadow="hover"> 动物外科 </el-card>
          </el-col>
          <el-col :span="8">
            <el-card shadow="hover"> 动物护理 </el-card>
          </el-col>
        </el-row>
      </div>

      <div class="list">
        <div class="item">
          <ul>
            <li>
              <div class="img">
                <div class="imgs"></div>
                <p>工号:AC001</p>
              </div>

              <div class="detail">
                <p>111</p>
              </div>
            </li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
          </ul>
        </div>

        <el-pagination layout="prev, next" :total="50" samll="true" />
      </div>
    </div>

    <div class="box">
      <div class="top">护士</div>
      <div class="el-card-box">
        <el-row :gutter="12">
          <el-col :span="8">
            <el-card shadow="hover"> 术后处理 </el-card>
          </el-col>
          <el-col :span="8">
            <el-card shadow="hover"> 康复护理 </el-card>
          </el-col>
          <el-col :span="8">
            <el-card shadow="hover"> 动物洗剪吹 </el-card>
          </el-col>
        </el-row>
      </div>

      <div class="list">
        <div class="item">
          <ul>
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
          </ul>
        </div>

        <el-pagination layout="prev, next" :total="50" samll="true" />
      </div>
    </div>

    <div class="box">
      <div class="top">后勤</div>
      <div class="el-card-box">
        <el-row :gutter="12">
          <el-col :span="8">
            <el-card shadow="hover"> 保安 </el-card>
          </el-col>
          <el-col :span="8">
            <el-card shadow="hover"> 保洁 </el-card>
          </el-col>
          <el-col :span="8">
            <el-card shadow="hover"> 行政 </el-card>
          </el-col>
        </el-row>
      </div>

      <div class="list">
        <div class="item">
          <ul>
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
          </ul>
        </div>

        <el-pagination layout="prev, next" :total="50" samll="true" />
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
.big {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  flex: 1;

  .box {
    display: flex;
    justify-content: center;
    align-content: flex-start;
    flex-shrink: 0;
    flex-wrap: wrap;
    width: 32%;
    height: 100%;

    .top {
      margin: 8px 5px 5px 5px;
      width: 100%;
      height: 40px;
      background-color: #e7dcc7;
      border-radius: 10px;

      box-shadow: 0px -2px 2px 0px gainsboro, -2px 0px 2px gainsboro,
        2px 0px 2px 0px gainsboro, 0px 2px 2px 0px gainsboro;
      text-align: center;
      line-height: 40px;
      font-weight: 600;
    }

    .el-card-box {
      width: 100%;
      margin: 5px;
      height: 30px;

      :deep(.el-card__body) {
        background-color: #f9f7f1;
        height: 30px;
        padding: 0;
        text-align: center;
        line-height: 30px;
        font-size: 14px;
      }
    }
  }

  .list {
    display: flex;
    flex-flow: column;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    width: 98%;
    height: 460px;
    background-color: #ffffff;

    .example-pagination-block {
      margin-top: 10px;
    }
    .example-pagination-block .example-demonstration {
      margin-bottom: 16px;
    }

    :deep(.is-first) {
      height: 20px;
    }

    :deep(.is-last) {
      height: 20px;
    }

    .item {
      width: 100%;
      flex: 1;
      ul {
        display: flex;
        flex-shrink: 0;
        flex-wrap: wrap;
        align-content: space-around;
        justify-content: center;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;

        li {
          display: flex;
          flex-shrink: 0;
          width: 98%;
          height: 23%;
          list-style: none;
          background-color: #f9f7f1;
          color: #555555;
          font-size: 12px;
          font-family: FZLanTingHei-EL-GBK;
          font-weight: 400;
          border-radius: 10px;
          box-shadow: 0px -1px 2px 0px gainsboro, -1px 0px 2px 0px gainsboro,
            1px 0px 2px 0px gainsboro, 0px 1px 2px 0px gainsboro;

          .detail {
            width: 70%;
            height: 100%;

            background-color: #555555;
          }
          .img {
            width: 30%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;

            p {
              margin: 0;
            }
            .imgs {
              width: 60px;
              height: 60px;
              border-radius: 50%;
              background-color: #555555;
            }
          }
        }
      }
    }
  }
}
</style>
